include ../ffox.mk

TARGET=	librtos.a
SRCS=	croutine.c \
	heap_2.c \
	list.c \
	port.c \
	queue.c \
	tasks.c

OBJS:=$(SRCS:%.c=%.o)

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) r $(TARGET) $(OBJS)

clean:
	rm -f $(TARGET) $(OBJS)

depend:
	$(CC) $(CFLAGS) -MM $(SRCS) >.depend

-include .depend

